import java.io.*;
public class ExceptionTest1 {
    public static void main(String args[]) throws IOException {
        FileInputStream inputStream = new FileInputStream("file.txt");
//        int m;
//        while ((m = inputStream.read()) != -1) {
//            System.out.print((char) m);
//        }
        inputStream.close();
    }
}
